package com.kk.xhr.admin.biz;

import com.kk.xhr.admin.controller.request.PasswordModifyRequest;
import com.kk.xhr.admin.controller.request.UserLoginRequest;
import com.kk.xhr.admin.controller.vo.AuthTokenVO;
import com.kk.xhr.common.ErrorCodeEnum;
import org.apache.commons.lang3.tuple.Pair;


/**
 * 用户认证服务接口
 *
 * @author kkmystery
 * @version 1.0 2021/3/11
 * @since 1.0.0
 */
public interface IUserAuthService {

    Pair<ErrorCodeEnum, AuthTokenVO> login(UserLoginRequest request);

    void modifyPassword(Long userId, PasswordModifyRequest password);
}
